package com.gpframework.common.enums;

import lombok.Getter;

/**
 * @author BrinedFish
 * @create 2022-05-12 9:53
 */
@Getter
public enum BaseDeviceInfoEnum {

    /**
     * base_device_info#device_type
     */
    FACE_DEVICE("人脸设备", "20"),
    /**
     * 设备类型
     */
    UNI_UBI_FACE("uni-ubi人脸设备", "40"),
    RECEPTION_INTELLIGENT("智慧前台", "50"),

    /**
     * base_device_info#usage_scenarios
     */
    FRONT_DESK("前台", "20"),
    SCREENSHOT("拍照/截图设备", "40"),
    /**
     * 设备状态
     */
    NORMAL_STATUS("正常", "10"),
    ABNORMAL_STATUS("异常", "10"),
    /**
     * 端口类型
     */
    ENTER_TYPE("入场", "10"),
    APPEAR_TYPE("出场", "20"),
    ;
    /**
     * 业务名称
     */
    private String name;

    private String key;

    private BaseDeviceInfoEnum() {
    }

    private BaseDeviceInfoEnum(String name) {
        this.name = name;
    }

    BaseDeviceInfoEnum(String name, String key) {
        this.name = name;
        this.key = key;
    }

}
